package quartz;

import java.util.Date;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import com.db.MongoDbTools;

public class SendEmailNow implements Job {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

	}

	@Override
	public void execute(JobExecutionContext arg0) throws JobExecutionException {
		System.out.println(new Date() + "i'm work");
		MongoDbTools.sendEmailNow();
	}
}
